package com.myway.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by yufei on 2017/11/2.
 */
public class Segment {
    /**
     * 飞机号
     */
    private String flightNo;

    /**
     * 机型
     */
    private String planeStyle;

    /**
     * @return the flightNo
     */

    private Date departDate;

    /**
     * 到达时间
     */
    private Date arriveDate;

    /**
     *
     */
    private String orgCity;

    private String dstCity;

    private int stops;

    /**
     * 是否代码共享航班
     */
    private boolean codeShare;


    private List<Cabin> cabins = new ArrayList<Cabin>();


    /**
     * 出发航站楼
     */
    private String depTerm;
    /**
     * 到达航站楼
     */
    private String arriTerm;

    /**
     * @return the flightNo
     */
    public String getFlightNo() {
        return this.flightNo;
    }

    /**
     * @param flightNo the flightNo to set
     */
    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo;
    }

    /**
     * @return the planeStyle
     */
    public String getPlaneStyle() {
        return this.planeStyle;
    }

    /**
     * @param planeStyle the planeStyle to set
     */
    public void setPlaneStyle(String planeStyle) {
        this.planeStyle = planeStyle;
    }

    /**
     * @return the orgCity
     */
    public String getOrgCity() {
        return this.orgCity;
    }

    /**
     * @param orgCity the orgCity to set
     */
    public void setOrgCity(String orgCity) {
        this.orgCity = orgCity;
    }

    /**
     * @return the dstCity
     */
    public String getDstCity() {
        return this.dstCity;
    }

    /**
     * @param dstCity the dstCity to set
     */
    public void setDstCity(String dstCity) {
        this.dstCity = dstCity;
    }

    /**
     * @return the cabins
     */
    public List<Cabin> getCabins() {
        return this.cabins;
    }

    /**
     * @param cabins the cabins to set
     */
    public void setCabins(List<Cabin> cabins) {
        this.cabins = cabins;
    }

    /**
     * @return the departDate
     */
    public Date getDepartDate() {
        return this.departDate;
    }

    /**
     * @param departDate the departDate to set
     */
    public void setDepartDate(Date departDate) {
        this.departDate = departDate;
    }

    /**
     * @return the arriveDate
     */
    public Date getArriveDate() {
        return this.arriveDate;
    }

    /**
     * @param arriveDate the arriveDate to set
     */
    public void setArriveDate(Date arriveDate) {
        this.arriveDate = arriveDate;
    }

    /**
     * @return the stops
     */
    public int getStops() {
        return this.stops;
    }

    /**
     * @param stops the stops to set
     */
    public void setStops(int stops) {
        this.stops = stops;
    }

    /**
     * @return the codeShare
     */
    public boolean isCodeShare() {
        return codeShare;
    }

    /**
     * @param codeShare the codeShare to set
     */
    public void setCodeShare(boolean codeShare) {
        this.codeShare = codeShare;
    }

    public String getDepTerm() {
        return depTerm;
    }

    public void setDepTerm(String depTerm) {
        this.depTerm = depTerm;
    }

    public String getArriTerm() {
        return arriTerm;
    }

    public void setArriTerm(String arriTerm) {
        this.arriTerm = arriTerm;
    }

}
